
package com.shop.cereshop.commons.domain.wallet;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * cere_pay_password_log 支付密码验证记录实体类
 * @author wang.yao
 * @date 2025-08-26
 */
@Data
@Accessors(chain = true)
@TableName("cere_pay_password_log")
@ApiModel(value = "PayPasswordLog", description = "支付密码验证记录实体类")
public class PayPasswordLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 日志ID
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "日志ID")
    private Long logId;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long buyerUserId;

    /**
     * 操作类型 1-设置密码 2-修改密码 3-验证密码 4-重置密码
     */
    @ApiModelProperty(value = "操作类型")
    private Integer operationType;

    /**
     * 操作结果 0-失败 1-成功
     */
    @ApiModelProperty(value = "操作结果")
    private Integer operationResult;

    /**
     * IP地址
     */
    @ApiModelProperty(value = "IP地址")
    private String ipAddress;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private String createTime;
}
